package com.wejoy.video.middle.station.data.generator.domain;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

public class DoMain {
    private Boolean oracle;
    private String tableName;//表名
    private String packageName;
    private String simplePackageName;
    private String daoPackageName;
    private String esPackageName;
    private String mapperPackageName;
    private String servicePackageName;
    private String controllerPackageName;
    private String className;//实体类 类名
    private String nickName;//className  首字母小写
    private String classNote;//表注释
    private String idJavaType;//主键类型
    private String author = System.getProperty("user.name");//作者
    private String date = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss").format(new Date());//创建日期
    private List<DoMainProperty> doMainProperties;
    private String limitStatement = "LIMIT #{startIndex, jdbcType=INTEGER}, #{pageSize, jdbcType=INTEGER}";
    // 代码生成器类型 mysql es
    private String generatorType;

    public String getGeneratorType() {
        return generatorType;
    }

    public void setGeneratorType(String generatorType) {
        this.generatorType = generatorType;
    }

    public String getEsPackageName() {
        return esPackageName;
    }

    public void setEsPackageName(String esPackageName) {
        this.esPackageName = esPackageName;
    }

    public String getLimitStatement() {
        return limitStatement;
    }

    public void setLimitStatement(String limitStatement) {
        this.limitStatement = limitStatement;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getIdJavaType() {
        return idJavaType;
    }

    public void setIdJavaType(String idJavaType) {
        this.idJavaType = idJavaType;
    }

    public String getSimplePackageName() {
        return simplePackageName;
    }

    public void setSimplePackageName(String simplePackageName) {
        this.simplePackageName = simplePackageName;
    }

    public String getControllerPackageName() {
        return controllerPackageName;
    }

    public void setControllerPackageName(String controllerPackageName) {
        this.controllerPackageName = controllerPackageName;
    }

    public Boolean getOracle() {
        return oracle;
    }

    public void setOracle(Boolean oracle) {
        this.oracle = oracle;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getDaoPackageName() {
        return daoPackageName;
    }

    public void setDaoPackageName(String daoPackageName) {
        this.daoPackageName = daoPackageName;
    }

    public String getMapperPackageName() {
        return mapperPackageName;
    }

    public void setMapperPackageName(String mapperPackageName) {
        this.mapperPackageName = mapperPackageName;
    }

    public String getServicePackageName() {
        return servicePackageName;
    }

    public void setServicePackageName(String servicePackageName) {
        this.servicePackageName = servicePackageName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getClassNote() {
        return classNote;
    }

    public void setClassNote(String classNote) {
        this.classNote = classNote;
    }

    public List<DoMainProperty> getDoMainProperties() {
        return doMainProperties;
    }

    public void setDoMainProperties(List<DoMainProperty> doMainProperties) {
        this.doMainProperties = doMainProperties;
    }
}
